<?php
/* @var $this OnderzoekController */
/* @var $model Onderzoek */

$this->breadcrumbs=array(
	'Onderzoeks'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'List Onderzoek', 'url'=>array('index')),
	array('label'=>'Create Onderzoek', 'url'=>array('create')),
	array('label'=>'Update Onderzoek', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Onderzoek', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Onderzoek', 'url'=>array('admin')),
);
?>

<h1>View Onderzoek #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'naam',
		'maker_id',
		'is_public',
		'stap_id',
	),
));
?>
<h2> Main Stap </h2>
<?php
$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model->getMainStap(),
	'attributes'=>array(
		'id',
		'waarde_id',
	),
));
?>

<h2> Main Stap Waarde </h2>
<h3> nog doen </h3>

<h2> Stappen </h2>
<?php 
    foreach($model->getStappen() as $stap){
        $this->widget('zii.widgets.CDetailView', array(
	'data'=>$stap,
	'attributes'=>array(
		'id',
		'waarde_id',
                ),
        ));
    }
?>
